-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Added long emulator CI to cosmos pipelines #46358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added long emulator CI to cosmos pipelines #46358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds long emulator CI to Cosmos pipelines by introducing a new test group "long-emulator" and configuring appropriate test infrastructure. The change separates longer-running emulator tests from the standard emulator test suite to improve CI performance and organization.
- Introduces "long-emulator" test group for longer-running tests that were previously in the "emulator" group
- Adds CI pipeline configuration to run these tests separately with dedicated matrix entries
- Updates test infrastructure to support the new test group categorization
Reviewed Changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
TransportClient.java | Changes method visibility from protected to public for getGlobalEndpointManager() |
SharedTransportClient.java | Updates method visibility to public for getGlobalEndpointManager() override |
RntbdTransportClient.java | Updates method visibility to public for getGlobalEndpointManager() override |
HttpTransportClient.java | Updates method visibility to public for getGlobalEndpointManager() override |
IncrementalChangeFeedProcessorTest.java (pkversion) | Migrates test methods from "emulator" to "long-emulator" group |
IncrementalChangeFeedProcessorTest.java (epkversion) | Migrates one test method from "emulator" to "long-emulator" group |
FullFidelityChangeFeedProcessorTest.java | Migrates test methods from "emulator" to "long-emulator" group |
TestSuiteBase.java (rx) | Adds "long-emulator" group to BeforeSuite and AfterSuite annotations |
ContainerCreateDeleteWithSameNameTest.java | Migrates all test methods from "emulator" to "long-emulator" group |
AadAuthorizationTests.java | Migrates test methods from "emulator" to "long-emulator" group |
ThroughputControlTests.java | Migrates all test methods from "emulator" to "long-emulator" group |
ReflectionUtils.java | Removes setGlobalEndpointManager method as it's no longer needed |
TestSuiteBase.java (implementation) | Adds "long-emulator" group to BeforeSuite and AfterSuite annotations |
NetworkFailureTest.java | Migrates test methods from "emulator" to "long-emulator" group |
RetryContextOnDiagnosticTest.java | Migrates test methods and updates mock setup to use public API |
long-emulator-testng.xml files | Adds TestNG configuration files for the new long-emulator test group |
cosmos-emulator-matrix.json | Adds CI pipeline matrix entries for long-emulator tests |
sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/RetryContextOnDiagnosticTest.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/RetryContextOnDiagnosticTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
Uh oh!
There was an error while loading. Please reload this page.